<template>
  <div class="dance-view">
    <div class="top-header">
      <van-icon class="left-menu" />
      <div class="mid-logo">
        <van-image
          class="img"
          width="90px"
          height="100%"
          :src="require('@/assets/logo.png')"
        ></van-image>
      </div>
      <div class="right-consult">立即咨询</div>
    </div>
    <div class="content">{{ message }}</div>
  </div>
</template>

<script lang="ts">
import { defineComponent, ref } from 'vue'

export default defineComponent({
  setup() {
    const message = ref('我是一个cli')

    return {
      message
    }
  },
  components: {}
})
</script>

<style scoped lang="less">
.dance-view {
  font-size: 12px;
  .top-header {
    display: flex;
    height: 50px;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    border-bottom: 1px solid #eee;

    .left-menu {
      font-size: 30px;
      color: #999;
      flex: 1;
    }
    .mid-logo {
      overflow: hidden;
      flex: 1;
    }
    .right-consult {
      background-color: #f9d68b;
      color: #333;
      border-radius: 5px;
      padding: 0 10px;
      height: 30px;
      line-height: 30px;
    }
  }
  .content {
    font-size: 20px;
    text-align: center;
  }
}
</style>
